package com.oyun.modules.province.domain.entity;

import com.oyun.modules.province.domain.Area;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class KunKun implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("部门id")
    private String id;

    @ApiModelProperty("父级部门id")
    private String parentId;

    @ApiModelProperty("机构/部门名称")
    private String departName;

    @ApiModelProperty("子级部门的集合")
    private List<Area> children;
}
